//#define __FORCE_TRACE__
//#define __FORCE_DEBUG__
//#define __FORCE_INFO__
#define THIS_FILE "mission\addAction.sqf"
#include <tmf_constants.h>
#include <tmf_macros.h>

TRACE_1("Start",_this);
private ["_array","_param","_params","_target","_caller","_id","_action_display_timer"];
_target = _this select 0;
_caller = _this select 1;
_id = _this select 2;
_param = _this select 3;

_action_display_timer = QGVAR(action_display_timer);
_target setVariable [_action_display_timer,time + 5];

_params = [_target, _caller, _id, _param];
[QGVAR(all_action), _params,THIS_FILE_] call NFUNC(callEvent);